﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using CurriculasEntities;

namespace CurriculasDAO
{
    public class SilaboBibliografiaMap : EntityTypeConfiguration<SilaboBibliografiaBE>
    {
        public SilaboBibliografiaMap()
            : base()
        {
            ToTable("TB_GC_23_Silabo_Bibliografia", "dbo");
            HasKey(s => s.codSilaboBibliografia);
            Property(s => s.codSilaboBibliografia)
                .HasColumnName("codSilaboBibliografia")
                .IsRequired();
        }
    }
}
